package com.chixing.ih.module.task.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 目的:
 *
 * @author ：zcw
 * @version: 1.0  2020/9/24 23:21
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class Task implements Serializable {
    @ApiModelProperty(value = "id", required = true)
    private Long id;

    @ApiModelProperty(value = "发布者id", required = true)
    private Long isSuerId;

    @ApiModelProperty(value = "任务标题", required = true)
    private String mandateTitle;

    @ApiModelProperty(value = "人才类别", required = true)
    private String talentCategory;

    @ApiModelProperty(value = "需求描述", required = true)
    private String requirementsDescription;

    @ApiModelProperty(value = "技能要求", required = true)
    private String skillsRequirements;

    @ApiModelProperty(value = "工作方式", required = true)
    private Integer operationMode;

    @ApiModelProperty(value = "薪资", required = true)
    private Double salary;

    @ApiModelProperty(value = "工作周期", required = true)
    private String workCycle;

    @ApiModelProperty(value = "工作地点", required = true)
    private String workPlace;

    @ApiModelProperty(value = "发布人姓名", required = true)
    private String isSuerName;

    @ApiModelProperty(value = "发布人手机号", required = true)
    private String isSuerTelephone;

    @ApiModelProperty(value = "任务状态", required = false)
    private Integer taskStatus;

    @ApiModelProperty(value = "发布状态", required = false)
    private Integer releaseStatus;

    @ApiModelProperty(value = "逻辑删除", required = false)
    private Integer logicalDeletion;

    @ApiModelProperty(value = "创建时间", required = false)
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "更新时间", required = false)
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date updateTime;

    @ApiModelProperty(value = "是否标记", required = false)
    private Integer marked;

    @ApiModelProperty(value = "是否刷新", required = false)
    private Integer refreshing;

}
